9da3914ea942ddf56defb4a641994ac85888c53a,subprojects/performance/src/testFixtures/groovy/org/gradle/performance/fixture/BuildExperimentRunner.java,BuildExperimentRunner,warmupsForExperiment,#BuildExperimentSpec#,98
Before Change
return experiment.getWarmUpCount();
}
// Use more invocations to warmup when using the daemon, to allow the JVM to warm things up
if (experiment.getInvocation().getBuildWillRunInDaemon()) {
return 3;
}
return 1;
After Change
return experiment.getWarmUpCount();
}
// Use more invocations to warmup when using the daemon, to allow the JVM to warm things up
InvocationSpec invocation = experiment.getInvocation();
if (invocation instanceof GradleInvocationSpec) {
if (((GradleInvocationSpec) invocation).getBuildWillRunInDaemon()) {
return 3;
}
}